package org.westboy.common.base;

/**
 * Description:
 *
 * @author Jin
 * @create 2017-12-25
 **/
public class SplashScreen extends de.felixroske.jfxsupport.SplashScreen {

    private  String image = null;

    private  Boolean visible = null;

    public SplashScreen(String _image,Boolean _visible) {
        this.image = _image;
        this.visible = _visible;
    }

    @Override
    public boolean visible() {
        return this.visible!=null?this.visible:super.visible();
    }

    @Override
    public String getImagePath() {
        return this.image!=null?this.image:super.getImagePath();
    }
}
